﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace ManagerGame
{
    /// <summary>
    /// Class representing mr. Manager
    /// </summary>
    public class Manager
    {

        // TODO: Maybe singleton
        private static Manager instance;

        public static Manager Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new Manager();
                    instance.Money = 50000;
                    instance.TurnCounter = 0;
                }
                return instance;
            }
        }

        /// <summary>
        /// Amount of money
        /// </summary>
        public double? Money { get; set; }

        /// <summary>
        /// Which turn is currently running
        /// </summary>
        public int TurnCounter { get; set; }

        /// <summary>
        /// Business owned
        /// </summary>
        public List<Business> Business { get; set; }

    }
}
